﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="PopupForm.aspx.vb" Inherits="WebForm_PopForm_PopupForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="smBase" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div>
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="lblField" runat="server" meta:resourcekey="lblField"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlField" runat="server">
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:TextBox ID="txtValue" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Button ID="btnQuery" runat="server" meta:resourcekey="btnQuery" />
                            <asp:Button ID="btnClose" runat="server" meta:resourcekey="btnClose" />
                            <asp:Button ID="btnSelect" runat="server" meta:resourcekey="btnSelect" 
                                Visible="False" style="height: 21px" />
                        </td>
                    </tr>
                </table>
                <TServerControl:TGridView ID="gvMain" runat="server" AllowHoverEffect="True" AllowHoverSelect="True"
                    PageSize="2" ShowFooterWhenEmpty="False" ShowHeaderWhenEmpty="False" TotalRowCount="0"
                    SkinID="pager" AutoGenerateColumns="False">
                    <EmptyDataTemplate>
                        查不到符合條件的資料
                    </EmptyDataTemplate>
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:Button ID="gvBtnSelect" CommandName="Select" runat="server" meta:resourcekey="gvBtnSelect" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </TServerControl:TGridView>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
